 <script type="text/javascript" src="{$base_dir}js/AJAX_ServiceInput.js"></script>
 {literal}
<script type="text/javascript">
$(document).ready(function(){
	
	 addDatePicker("#inSurgery_dd",'#inSurgery_mm','#inSurgery_yyyy',false,false,true);
	 
 	$('#selectSurgeryBtn').bind('click', function(){
 		var buttons = {};
 		buttons[_('Cancel')] = function() {	
 			resetSelectSurgeryDialog();
 			$(this).dialog('close');
 		};
 		buttons[_('Select')] = function() {	
 			$('#surgeryName').val(getSelectedSurgeryName());
 			$('#surgeryType').val(getSelectedSurgeryCatergoryName());
 			$('#surgeryId').val(getSelectedSurgeryId());
 			$('#catergoryId').val(getSelectedSurgeryCatergoryId());
 			displayForm4InputService(ticketId, getSelectedSurgeryCatergoryId());
 			$(this).dialog('close');
 			resetSelectSurgeryDialog();
 		};
 		var title = _('SELECT SURGERY SERVICE');
 		popUpSelectSurgeryService('get_surgery_service_dialog', title, null, null,buttons,null);
 	});    
})
</script>
{/literal}
<div id="ServiceSelect">
<fieldset><legend>{translate}Service{/translate}</legend>
<span id="statusMessage"></span>
<br>
{include file="service_input/general_select_service.html"}
</fieldset>
</div>
<br />
<div id="inputServiceForm"> </div>
{include file="surgery/element_div_get_surgery_service.html"}